//out:./
* {
    margin: 0;
    padding: 0;
    text-decoration: none;
    list-style: none;
}

body {
    width: 100vw;
    font-family: "pingfang sc", "source han sans cn", "microsoft yahei", monospace;

    header {
        position: sticky;
        top: 0%;
        background-color: #fff;

        // 状态栏
        .tip {
            width: 100%;
            height: calc(40vw / 7.5);
            display: flex;
            justify-content: space-between;
            font-size: calc(20vw / 7.5);
            line-height: calc(40vw / 7.5);
            color: #626262;
            padding: 0 calc(10vw / 7.5);
            box-sizing: border-box;
            font-weight: 700;
            position: relative;

            #time {
                position: absolute;
                left: 50%;
                top: 50%;
                transform: translate(-50%, -50%);
                z-index: 2;
            }
        }

        // 头部
        .header {
            overflow: hidden;
            box-shadow: 0 1px 1px #d9d7d7;

            .seach {
                width: calc(676vw / 7.5);
                height: calc(75vw / 7.5);
                background-color: #f0f0f0;
                border-radius: calc(37vw / 7.5);
                margin: calc(15vw / 7.5) auto;
                padding: 0 calc(30vw / 7.5);
                box-sizing: border-box;

                i {
                    color: #cdcdcd;
                    font-size: calc(30vw / 7.5);
                }

                input {
                    color: #626262;
                    border: none;
                    background-color: inherit;
                    height: 100%;
                    width: calc(550vw / 7.5);
                    box-sizing: border-box;
                    padding: 0 calc(10vw / 7.5);
                    font-size: calc(30vw / 7.5);
                    outline: none;
                }
            }
        }
    }

    // 中间内容区
    main {
        overflow: hidden;
        background-color: #f3f3f3;

        // 店铺卡片
        .store{
            width: calc(676vw / 7.5);
            background-color: #fff;
            margin: calc(22vw / 7.5) auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding:calc(20vw / 7.5);
            box-sizing: border-box;
            border-radius: calc(10vw / 7.5);

                // 左侧图标
                .left{
                    width: calc(180vw / 7.5);
                    height: calc(180vw / 7.5);
                    margin-right: calc(22vw / 7.5);
                    border-radius: calc(10vw / 7.5);
                    overflow: hidden;

                    img{
                        width: 100%;
                        height: 100%;
                    }
                }

                // 右侧信息
                .right{
                    height: calc(180vw / 7.5);
                    flex-grow: 1;
                    display: flex;
                    flex-direction: column;
                    justify-content: space-between;

                    h3{
                        font-size: calc(22vw / 7.5);
                        font-weight: 700;
                    }
                    .introduce{
                        font-size: calc(18vw / 7.5);
                        display: flex;
                        justify-content: space-between;
                        color: #cdcdcd;
                    }
                    .messageOne{
                        font-size: calc(16vw / 7.5);
                        display: flex;
                        justify-content: space-between;
                    }
                    .messageTwo{
                        font-size: calc(16vw / 7.5);
                    }
                    .coupon{
                        display: flex;
                        justify-content: space-between;

                        div{
                            width: calc(200vw / 7.5);
                            height: calc(35vw / 7.5);
                            border-radius: calc(25vw / 15);
                            background-color: #ff6518;
                            font-size: calc(16vw / 7.5);
                            color: #fff;
                            line-height: calc(35vw / 7.5);
                            text-align: center;
                            font-weight: 100;
                            padding: 0 calc(1vw);
                            box-sizing: border-box;
                        }
                    }
                }
        }
    }

    // 底部导航栏
    footer {
        width: 100%;
        height: calc(100vw / 7.5);
        box-shadow: 0 -1px 1px #d7d7d7;
        position: fixed;
        bottom: 0%;
        left: 0%;
        display: flex;
        background-color: #fff;

        .nav {
            display: block;
            flex-grow: 1;
            display: flex;
            flex-direction: column;
            justify-content: space-evenly;
            align-items: center;
            height: 100%;

            i {
                font-size: calc(40vw /7.5);
                color: #cdcdcd;
            }

            span {
                font-size: calc(18vw / 7.5);
                color: #373737;
            }

            &:active {

                i,
                span {
                    color: #ff6518;
                }

            }
        }
    }

    // 垫子
    .pad {
        height: calc(100vw / 7.5);
    }
}